package io.renren.modules.store.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.store.entity.TStoreDiningTableEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author steakliu
 * @email 2319492349@qq.com
 * @date 2021-01-24 01:14:45
 */
public interface TStoreDiningTableService extends IService<TStoreDiningTableEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<Integer> getSeatNumList(Map<String,Object> map);

    void splitDesk(Map<String, Object> map);

//    PageUtils queryTables2(Map<String, Object> param);
//
//    PageUtils queryTable3(Map<String, Object> param);

    TStoreDiningTableEntity getMaxNumberByPrefix(TStoreDiningTableEntity tableEntity);

    Page<TStoreDiningTableEntity> queryTables(Map<String, Object> params);
}

